package com.zhuang.chapter07.work01;

public class BasePlusSalesEmployee extends SalesEmployee {
	// 底薪
	private int baseSalary;

	public BasePlusSalesEmployee(String name, int month, int monthVal, double decrease, int baseSalary) {
		super(name, month, monthVal, decrease);
		this.baseSalary = baseSalary;
	}

	public int getBaseSalary() {
		return baseSalary;
	}

	public void setBaseSalary(int baseSalary) {
		this.baseSalary = baseSalary;
	}

	public int getSalary(int month) {
		return baseSalary + super.getSalary(month);
	}
}
